﻿@{@model MvcApplication1.Models.Marca
@{
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
    ViewBag.Title = "Create";
}

@using(Html.BeginForm()) {
    @Html.ValidationSummary(true)
}
<center>
    <form method="post" action="~/Default1/Create" class="pure-form">
        <div>
            <label for="nombre" class="letrapfn">Artículo</label>
            <input id="nombre" type="text" name="nombre"  class="input-create"/>
            <br />
            <br />
        </div>
        <div>
            <label for="nombre" class="letrapfn">Precio</label>
            <input id="precio" type="text" name="precio" class="input-create" />
            @Html.ValidationMessageFor(model => model.precio)<br /><br />
        </div>
        <div>
            <label for="modelo" class="letrapfn">Modelo</label>
            <input id="modelo" type="text" name="modelo" class="input-create" /><br /><br />
        </div>
        <div>
            <label for="marca" class="letrapfn">Marca</label>
            <input id="marca" type="text" name="marca" class="input-create" /><br /><br />
        </div>
        <div>
            <label for="descripcion" class="letrapfn">Descripción</label>
            <input id="descripcion" type="text" name="descripcion" class="input-create" /><br /><br />
        </div>
        <div>
            <label for="foto" class="letrapfn">Imagen</label>
            <input id="foto" type="text" name="foto" class="input-create" /><br /><br />
        </div><br /><br />
        <button class="pure-button" type="submit">Guardar</button>
    </form>
</center>
    

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/2.3.2/js/bootstrap.min.js"></script> 

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
